package com.hda.adbt;

import java.awt.Point;
import java.util.Vector;


public class MainProgram 
{	
	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		Vector<Point> p = new Vector<Point>();
		ConvexHull ch = new ConvexHull();
		MinimalBoundingRectangle mur = new MinimalBoundingRectangle();
		
		p.add(new Point(1,5));
		p.add(new Point(2,2));
		p.add(new Point(2,7));
		p.add(new Point(4,4));
		p.add(new Point(5,13));
		p.add(new Point(6,1));
		p.add(new Point(7,4));
		p.add(new Point(9,6));
		p.add(new Point(10,5));
		
		mur.createMBR(p);
		mur.printMBR();

		ch.createCHfromPoints(p);
		ch.printCH();
	}

}
